Skip to content

Conversation

@daisyden
Copy link
Contributor

@daisyden daisyden commented Nov 6, 2025

test file increased total increased pass increased skipped
test_ops_xpu.py 6416 6277 204

From

test file increased total increased pass increased skipped
op_ut op_ut_with_skip_test_ops_xpu 24841 21940

to

test file increased total increased pass increased skipped
op_ut op_ut_with_skip_test_ops_xpu 31257 28167

disable_build
disable_e2e
disable_distributed

Copilot AI review requested due to automatic review settings November 6, 2025 14:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the handling of python_ref_db in XPU test utilities to use PyTorch's stock definition instead of maintaining a custom copy. The changes eliminate redundant storage and manipulation of python_ref_db while filtering it locally where needed.

Key Changes:

  • Removed custom storage of python_ref_db in the XPU test wrapper class
  • Simplified align_supported_dtypes logic by removing complex conditional checks
  • Added skip list entries for newly exposed test cases

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
test/xpu/xpu_test_utils.py Removed custom python_ref_db storage, simplified dtype alignment logic, and created local filtered version where needed
test/xpu/skip_list_common.py Added skip entries for _vdot_, _dot_, _flash_attention_, and _efficient_attention_ operations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Nov 6, 2025

Performance outliers, please check!

  • 🟡 [80%, 90%), may be fluctuations
Category Model Target vs. Baseline [Eager] Target vs. Baseline [Inductor]
torchbench_bfloat16_training mnasnet1_0 1.019841 0.898455

@chuanqi129 chuanqi129 added this pull request to the merge queue Nov 8, 2025
Merged via the queue into main with commit ac20889 Nov 8, 2025
60 of 67 checks passed
@chuanqi129 chuanqi129 deleted the daisyden/align_stock_pt branch November 8, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants